package project;

public class Student {
    private String name;
    private Computer computer;

    public Student(String name, Computer computer) {
        this.name = name;
        this.computer = computer;
    }

    public void showComputerConfig() {
    	
        System.out.println(name + "的电脑配置：");
        System.out.println("brand: " + computer.getbrand());
        System.out.println("CPU: " + computer.getCpu());
        System.out.println("RAM: " + computer.getRam() + "GB");
        System.out.println("Storage: " + computer.getStorage() + "GB");
    }
}